package com.huatai.bpmn.entity.vo;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Author: nzj
 * @Date: 2023/7/11 9:42
 */
@Data
@ApiModel(value = "查询代办任务VO",description = "查询代办任务VO")
public class TaskVO {

	@ApiModelProperty("流程实例id")
	private String procinstId;

	@ApiModelProperty("任务id")
	private String taskId;

	@ApiModelProperty("申请人")
	private String applicant;

	@ApiModelProperty("完成状态")
	private String status;

	@ApiModelProperty("事项名称")
	private String matterName;

	@ApiModelProperty("节点名称")
	private String nodeName;

	@ApiModelProperty("创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private LocalDateTime createTime;

	@ApiModelProperty("完成时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private LocalDateTime endTime;

	@ApiModelProperty("受理人")
	private String assignee;

	@ApiModelProperty("最终受理人")
	private String findAssignee;

	@ApiModelProperty("是否允许修改")
	private Boolean isUpdate;

	@ApiModelProperty("userId")
	private Long userId;

	@ApiModelProperty("关联表单")
	private String place;


	@ApiModelProperty("节点表单")
	private String nodeForm;

	@ApiModelProperty("部署id")
	private String deployId;

	@ApiModelProperty("是否高亮关注")
	private Boolean isAttention;

	@ApiModelProperty("关注信息")
	private String attentionInfo;
}
